//评论的集合
const mongoose = require('../db')

var Command = mongoose.Schema({
    command : String,  //评论内容
    date : String,     //评论发表时间
    fromId : String    //评论来自于那一篇文章，存放某一篇文章的id
})

var command = mongoose.model('command' , Command)

module.exports = command

